<?xml version="1.0" encoding="UTF-8"?>
<%@page contentType="text/xml" %>
<%@page import="java.util.Iterator"%>
<%@page import="java.util.List"%>
<% List l = (List)request.getAttribute("forumList");%>

<%@page import="com.serviceBeans.AlliBilliForum"%><persons>
<% Iterator it  = l.listIterator(); 
int count =0;
while(it.hasNext())
{
	++count;
	AlliBilliForum forum = (AlliBilliForum)it.next();
	System.out.println(forum.getIdAlliBilliForum()+" : "+forum.getName() +" : "+ forum.getContent()+" : "+forum.getPostedDate());
	%>
	<person id="<%= forum.getIdAlliBilliForum()%>">
		<name><%= forum.getName()%></name>
		<opinion><%= forum.getContent()%></opinion>
		<placedDate><%= forum.getPostedDate()%></placedDate>
	</person>
	<%	}	%>
</persons>